package com.cmy.www;

import static org.junit.Assert.*;

import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Test;

public class UserMasTest {

	@BeforeClass
	public static void setUpBeforeClass() throws Exception {
	}

	@AfterClass
	public static void tearDownAfterClass() throws Exception {
	}

	@Test
	public void testGetId() {
		UserMas test = new UserMas("001", "name", "sex", "birth", "phoneNumber", "address");
		assertEquals("001", test.getId());
	}

	@Test
	public void testGetName() {
		UserMas test = new UserMas("001", "name", "sex", "birth", "phoneNumber", "address");
		assertEquals("name", test.getName());
	}

	@Test
	public void testGetSex() {
		UserMas test = new UserMas("001", "name", "sex", "birth", "phoneNumber", "address");
		assertEquals("sex", test.getSex());
	}

	@Test
	public void testGetBirth() {
		UserMas test = new UserMas("001", "name", "sex", "birth", "phoneNumber", "address");
		assertEquals("birth", test.getBirth());
	}

	@Test
	public void testGetPhoneNumber() {
		UserMas test = new UserMas("001", "name", "sex", "birth", "phoneNumber", "address");
		assertEquals("phoneNumber", test.getPhoneNumber());
	}

	@Test
	public void testGetAddress() {
		UserMas test = new UserMas("001", "name", "sex", "birth", "phoneNumber", "address");
		assertEquals("address", test.getAddress());
	}

}
